from django.urls import path
from index.views import SpeciesView, PetpecipeView, PetEncyclopediaView, PetEncyclopediaDetailView
from index.views import FoodGradeVIew, FoodTypeView, ActivityTypeView, ActivityAgeView
from index.views import EsAddDataView, EsSearch, FileUploadView


urlpatterns = [
    path('species/', SpeciesView.as_view()),
    path('petpecipe/', PetpecipeView.as_view()),
    path('foodgrade/', FoodGradeVIew.as_view()),
    path('foodtype/', FoodTypeView.as_view()),
    path('activitytype/', ActivityTypeView.as_view()),
    path('activityage/', ActivityAgeView.as_view()),
    path('esadddata/', EsAddDataView.as_view()),
    path('essearch/', EsSearch.as_view()),
    path('petencyclopedia/', PetEncyclopediaView.as_view()),
    path('petencydetail/', PetEncyclopediaDetailView.as_view()),
    path('fileupload/', FileUploadView.as_view()),
]
